
package com.insigma.business.qrcode.soldier._consumer.impl;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.PlacementThroughTrainApplyInfoDTO;
import com.insigma.business.qrcode.soldier.dto.PlacementThroughTrainApplyInfoSearchRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.request.PlacementThroughTrainApplyInfoInsertRequest;
import com.insigma.business.qrcode.soldier.request.PlacementThroughTrainApplyInfoUpdateRequest;
import com.insigma.business.qrcode.soldier._consumer.PlacementThroughTrainApplyInfoConsumer;
import com.insigma.business.qrcode.soldier._provider.PlacementThroughTrainApplyInfoProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("placementThroughTrainApplyInfoConsumer")
public class PlacementThroughTrainApplyInfoConsumerImpl implements PlacementThroughTrainApplyInfoConsumer {

    @Resource
    private PlacementThroughTrainApplyInfoProvider placementThroughTrainApplyInfoProvider;

    
    @Override
    public BasePagingResponse<List<PlacementThroughTrainApplyInfoDTO>> searchPlacementThroughTrainApplyInfo(final PlacementThroughTrainApplyInfoSearchRequest searchRequest) {
        return placementThroughTrainApplyInfoProvider.searchPlacementThroughTrainApplyInfo(searchRequest);
    }

   
    @Override
    public BaseResponse<PlacementThroughTrainApplyInfoDTO> getPlacementThroughTrainApplyInfo(final BaseGetRequest baseGetRequest) {
        return placementThroughTrainApplyInfoProvider.getPlacementThroughTrainApplyInfo(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertPlacementThroughTrainApplyInfo(final PlacementThroughTrainApplyInfoInsertRequest insertRequest) {
        return placementThroughTrainApplyInfoProvider.insertPlacementThroughTrainApplyInfo(insertRequest);
    }

    @Override
    public BaseResponse<Integer> checkPlacementThroughTrainApplyInfo(PlacementThroughTrainApplyInfoUpdateRequest placementThroughTrainApplyInfoUpdateRequest) {
        return placementThroughTrainApplyInfoProvider.checkPlacementThroughTrainApplyInfo(placementThroughTrainApplyInfoUpdateRequest);
    }

    
    @Override
    public BaseResponse<Integer> updatePlacementThroughTrainApplyInfo(final PlacementThroughTrainApplyInfoUpdateRequest updateRequest) {
        return placementThroughTrainApplyInfoProvider.updatePlacementThroughTrainApplyInfo(updateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deletePlacementThroughTrainApplyInfo(final BaseDeleteRequest deleteRequest) {
        return placementThroughTrainApplyInfoProvider.deletePlacementThroughTrainApplyInfo(deleteRequest);
    }

    @Override
    public BaseResponse<PlacementThroughTrainApplyInfoDTO> getMyApplyInfo(String soldierUserId) {
        return placementThroughTrainApplyInfoProvider.getMyApplyInfo(soldierUserId);
    }

}
